package com.lmt_13;

import java.io.BufferedWriter;
import java.io.FileWriter;

public class BufferWriterTest {
    public static void main(String[] args) {
        try (
                FileWriter w = new FileWriter("src/com/lmt_13/1.txt",true);
                BufferedWriter writer = new BufferedWriter(w)
        ){
            writer.write("fgcfbhcffvf拉拉");
        }catch (Exception e){
            e.printStackTrace();
        }
    }
}
